<!-- BEGIN PAGE HEADER-->
<h3 class="page-title">
    提现审核
    <small></small>
</h3>
<div class="page-bar">
    <ul class="page-breadcrumb">
        <li>
            <i class="fa fa-home"></i>
            <a href="index.html">Home</a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="#">订单管理</a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="#">提现审核</a>
        </li>
    </ul>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
    <div class="col-md-12">
        <form class="form-horizontal form-row-seperated" action="#" id="edit_form">
            <div class="portlet">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-shopping-cart"></i> 提现审核
                    </div>
                    <div class="actions btn-set">
                        <button type="button" id="back" class="btn default">
                            <i class="fa fa-angle-left"></i> 返回
                        </button>
                        <button class="btn default">
                            <i class="fa fa-reply"></i> 重置
                        </button>
                        <?php if($model->getStatus()===\Lib\Consts::W_TYPE_APPLYING) { ?>
                        <button type="button" class="btn green table-group-action-submit">
                            <i class="fa fa-check"></i> 审核
                        </button>
                        <?php } ?>
                        <!--<button class="btn green"><i class="fa fa-check-circle"></i> 保存 & 继续编辑</button>-->
                    </div>
                </div>
                <div class="portlet-body">
                    <div class="tabbable">

                        <div class="tab-content no-space">
                            <div class="tab-pane active" id="tab_general">
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            支付宝账户: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input type="text" class="form-control" disabled name="account" placeholder="" value="<?php echo empty($model->getAccount()) ? '' : $model->getAccount(); ?>">
                                        </div>
                                    </div>
                                </div>
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            真实姓名: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input type="text" class="form-control" disabled name="real_name" placeholder="" value="<?php echo empty($model->getReal_name()) ? '' : $model->getReal_name(); ?>">
                                        </div>
                                    </div>
                                </div>
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            金额: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input type="text" class="form-control" disabled name="sum" placeholder="" value="<?php echo empty($model->getSum()) ? '' : $model->getSum(); ?>">
                                        </div>
                                    </div>
                                </div>
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            申请提现时间: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input type="text" class="form-control" disabled name="content" placeholder="" value="<?php echo empty($model->getAdd_time()) ? '' : date('Y-m-d H:i:s', $model->getAdd_time()); ?>">
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label">状态: <span class="required">
													* </span>
                                    </label>
                                    <div class="col-md-10">
                                        <select name="status" <?php echo $model->getStatus()!==\Lib\Consts::W_TYPE_APPLYING ? 'disabled' : ''?> class="table-group-action-input form-control input-medium">
                                            <option value="2" <?php echo $model->getStatus()===\Lib\Consts::W_TYPE_SUCCESS ? 'selected': ''; ?>>通过</option>
                                            <option value="3" <?php echo $model->getStatus()===\Lib\Consts::W_TYPE_FAILURE ? 'selected': ''; ?>>拒绝</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            备注:
                                        </label>
                                        <div class="col-md-10">
                                            <input type="text" <?php echo $model->getStatus()!==\Lib\Consts::W_TYPE_APPLYING ? 'disabled' : ''?> class="form-control" name="remark" placeholder="若拒绝提现, 请填写原因!" value="<?php echo empty($model->getRemark()) ? '' : $model->getRemark(); ?>">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<!-- END PAGE CONTENT-->